package com.prs.crm.dao.oa;

import java.util.Collection;
import java.util.Date;

import com.prs.crm.dao.BaseDao;
import com.prs.crm.domain.hr.Person;
import com.prs.crm.domain.oa.Apply;

public interface ApplyDao extends BaseDao<Apply>{
	Collection<Apply> getAllApply();
	Collection<Apply> getApplyByIds(Collection<Integer> ids);
	Collection<Apply> getValidCritiqueApply(Person person);
	Collection<Apply> getExistAuditInfoByPerson(Person person);
	Collection<?> getReportApplySource(Integer state, String level, Date datestart, Date dateend, Collection<Person> persons);
}
